package fnord.illuminati.action.actions;

import fnord.illuminati.action.AttackModifierAction;
import fnord.illuminati.card.groupcards.CycleGangs;
import fnord.illuminati.card.groupcards.Hollywood;
import fnord.illuminati.card.groupcards.PunkRockers;
import fnord.illuminati.order.AttackOrder;
import fnord.illuminati.order.AttackType;

public class InternationalCocaineSmugglersAction implements AttackModifierAction {
	private static final long serialVersionUID = -2071089628317483240L;

	@Override
	public int doAttack(AttackOrder order) {
		if (order.getAttackType() == AttackType.CONTROL && (order.getTo() instanceof PunkRockers || order.getTo() instanceof CycleGangs || order.getTo() instanceof Hollywood))
			return 4;
		else
			return 0;
	}

	@Override
	public int doDefend(AttackOrder order) {
		return 0;
	}
}
